package com.yc.chaoshi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author xz
 * @since 2022-08-04
 */
@TableName("ums_roles_resource")
public class UmsRolesResource implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      /**
     * 角色id
     */
      private Integer rolesId;

      /**
     * 资源id
     */
      private Integer resourceId;

    
    public Integer getId() {
        return id;
    }

      public void setId(Integer id) {
          this.id = id;
      }
    
    public Integer getRolesId() {
        return rolesId;
    }

      public void setRolesId(Integer rolesId) {
          this.rolesId = rolesId;
      }
    
    public Integer getResourceId() {
        return resourceId;
    }

      public void setResourceId(Integer resourceId) {
          this.resourceId = resourceId;
      }

    @Override
    public String toString() {
        return "UmsRolesResource{" +
              "id=" + id +
                  ", rolesId=" + rolesId +
                  ", resourceId=" + resourceId +
              "}";
    }
}
